|
|
|
|
|
|
|
(table continued from previous page) |
|
|
|
|
| Debugging Function | Purpose | | Step Out | Executes the remainder of the current procedure and breaks at the next line in the calling procedure | | Locals Window | Displays the current value of any local variables | | Immediate Window | Enables you to execute code or display any values while the application is in Break mode | | Watch Window | Displays the values of selected expressions | | Quick Watch | Lists the current value of an expression while the application is in Break mode | | Call Stack | While in Break mode, presents a dialog box that displays all the procedures that have been called but not yet run to completion, as discussed on Day 15 |
|
|
|
|
|
|
Figure 18.4.
The optional Debug toolbar provides
many of the debugging functions that
Visual Basic has. |
|
|
|
|
|
|
|
|
As mentioned previously, all these toolbar functions are also available on the Debug menu (see Figure 18.5). Besides the functions from the toolbar, there are also the options to add and remove Watch expressions and show the next executable statement. Also, after you place the cursor at a given line of code, you can have the application execute until it hits the line with the cursor on it. |
|
|
|
|
|